All Questions
Tagged with hooksreadability
1 question
26votes
3answers
4kviews
What should plugins use: hooks, events or something else?
Consider an app that allows plugins to react to its program flow. I know 2 ways to achieve this: hooks and events 1. Hooks Use calls to empty functions inside the main program flow. These functions ...